<!DOCTYPE html>
<html>
  <head>
    <title>ajax</title>
    <!-- <link rel="stylesheet" href="/style.css" /> -->
    <!-- 上面这一行，为非ajax 的书写方式 -->
  </head>
  <body>
    <h1>AJAX Hello <span id="myName"></span></h1>
    <p>
      <button id="getCSS">请求CSS</button>
      <button id="getJS">请求JS</button>
      <button id="getHTML">请求HTML</button>
      <button id="getXML">请求XML</button>
      <button id="getJSON">请求JSON</button>
      <button id="getPage">请求下一页</button>
    </p>
    <div>{{page1}}</div>
    <script src="main.js"></script>
  </body>
</html>
